package com.zy.cat.entity.game.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.zy.cat.entity.game.CVSDrawHistory;
public interface CVSDrawHistoryRepository extends JpaSpecificationExecutor<CVSDrawHistory>,  JpaRepository<CVSDrawHistory, String>{
	public CVSDrawHistory findByPidAndFid(String pid,String fid);
	
	//根据pid、活动时间、奖励类型查询记录
	public List<CVSDrawHistory> findByPidAndStimeAndDtype(String pid,String stime,int dtype);
}
